import T3 from './T-3.vue'
import T1 from './T-1.vue'
import T11 from './T-1-1.vue'
import T111 from './T-1-1-1.vue'
import T2 from './T-2.vue'
import T21 from './T-2-1.vue'
import T211 from './T-2-1-1.vue'
import T22 from './T-2-2.vue'
import MenuViewTest from "./menu_view_test_index.vue";

const menuTestRoutes = [
    {
        name: "menuTestView",
        path: "/menuTestView",
        component: MenuViewTest,
        meta: {
            title: "MenuViewTest",
            isNavMenu:true,
            icon:'el-icon-edit'
        },
        children: [
            {
                name: "route-3",
                path: "dir-3",
                component: T3,
                meta: {
                    title: "title-3",
                    isNavMenu:true,
                    icon:'el-icon-edit',
                    layerOrder:3
                },
            },
            {
                name: "route-1",
                path: "dir-1",
                component: T1,
                meta: {
                    title: "title-1",
                    isNavMenu:true,
                    icon:'el-icon-edit',
                    layerOrder:1,
                },
                children: [
                    {
                        name: "route-1-1",
                        path: "dir-1-1",
                        component: T11,
                        meta: {
                            title: "title-1",
                            isNavMenu:true,
                            icon:'el-icon-edit',
                            layerOrder:0,
                        },
                        children: [
                            {
                                name: "route-1-1-1",
                                path: "dir-1-1-1",
                                component: T111,
                                meta: {
                                    title: "title-1-1-1",
                                    isNavMenu:true,
                                    icon:'el-icon-edit'
                                },
                            }
                        ]
                    },
                ]
            },
            {
                name: "route-2",
                path: "dir-2",
                component: T2,
                meta: {
                    title: "title-2",
                    isNavMenu:true,
                    icon:'el-icon-edit',
                    layerOrder:2,
                },
                children: [
                    {
                        name: "route-2-1",
                        path: "dir-2-1",
                        component: T21,
                        meta: {
                            title: "title-2-1",
                            isNavMenu:true,
                            icon:'el-icon-edit',
                            layerOrder:3,
                        },
                        children: [
                            {
                                name: "route-2-1-1",
                                path: "dir-2-1-1",
                                component: T211,
                                meta: {
                                    title: "title-2-1-1",
                                    isNavMenu:true,
                                    icon:'el-icon-edit'
                                },
                            },
                        ]
                    },
                    {
                        name: "route-2-2",
                        path: "dir-2-2",
                        component: T22,
                        meta: {
                            title: "title-2-2",
                            isNavMenu:true,
                            icon:'el-icon-edit',
                            layerOrder:1,
                        },
                    },
                ]
            },
        ],
    },
];

export { menuTestRoutes };
